/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.elan.action.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link user1}.
 * </p>
 *
 * @author    Elan
 * @see       user1
 * @generated
 */
public class user1Wrapper implements user1, ModelWrapper<user1> {
	public user1Wrapper(user1 user1) {
		_user1 = user1;
	}

	public Class<?> getModelClass() {
		return user1.class;
	}

	public String getModelClassName() {
		return user1.class.getName();
	}

	/**
	* Returns the primary key of this user1.
	*
	* @return the primary key of this user1
	*/
	public long getPrimaryKey() {
		return _user1.getPrimaryKey();
	}

	/**
	* Sets the primary key of this user1.
	*
	* @param primaryKey the primary key of this user1
	*/
	public void setPrimaryKey(long primaryKey) {
		_user1.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the action ID of this user1.
	*
	* @return the action ID of this user1
	*/
	public long getActionId() {
		return _user1.getActionId();
	}

	/**
	* Sets the action ID of this user1.
	*
	* @param actionId the action ID of this user1
	*/
	public void setActionId(long actionId) {
		_user1.setActionId(actionId);
	}

	/**
	* Returns the user name of this user1.
	*
	* @return the user name of this user1
	*/
	public java.lang.String getUserName() {
		return _user1.getUserName();
	}

	/**
	* Sets the user name of this user1.
	*
	* @param userName the user name of this user1
	*/
	public void setUserName(java.lang.String userName) {
		_user1.setUserName(userName);
	}

	/**
	* Returns the password of this user1.
	*
	* @return the password of this user1
	*/
	public java.lang.String getPassword() {
		return _user1.getPassword();
	}

	/**
	* Sets the password of this user1.
	*
	* @param password the password of this user1
	*/
	public void setPassword(java.lang.String password) {
		_user1.setPassword(password);
	}

	public boolean isNew() {
		return _user1.isNew();
	}

	public void setNew(boolean n) {
		_user1.setNew(n);
	}

	public boolean isCachedModel() {
		return _user1.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_user1.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _user1.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _user1.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_user1.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _user1.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_user1.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new user1Wrapper((user1)_user1.clone());
	}

	public int compareTo(com.elan.action.model.user1 user1) {
		return _user1.compareTo(user1);
	}

	@Override
	public int hashCode() {
		return _user1.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.elan.action.model.user1> toCacheModel() {
		return _user1.toCacheModel();
	}

	public com.elan.action.model.user1 toEscapedModel() {
		return new user1Wrapper(_user1.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _user1.toString();
	}

	public java.lang.String toXmlString() {
		return _user1.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_user1.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public user1 getWrappeduser1() {
		return _user1;
	}

	public user1 getWrappedModel() {
		return _user1;
	}

	public void resetOriginalValues() {
		_user1.resetOriginalValues();
	}

	private user1 _user1;
}